//
//  person.m
//  runtimeStudy
//
//  Created by PF on 2021/12/23.
//

#import "person.h"
 
@implementation person 
{
    NSString *abc;
//    NSString *_abc;
//    NSString *isAbc;
//    NSString *_isAbc;
}

@synthesize ID = IDs;
- (void)method1{
    NSLog(@"method1");
}

//-(void)setAbc:(NSString*)abc{
//    NSLog(@"setAbc");
//}


//-(void)setID:(NSString *)ID
//{
//}
//-(NSString *)ID
//{
//    return @"123";
//}
-(void)willChangeValueForKey:(NSString *)key
{
    NSLog(@"willChangeValueForKey-start");
    [super willChangeValueForKey:key];
    NSLog(@"willChangeValueForKey-end");
}
-(void)didChangeValueForKey:(NSString *)key
{
    NSLog(@"didChangeValueForKey-start");
    [super didChangeValueForKey:key];
    NSLog(@"didChangeValueForKey-end");
}

- (void)setNilValueForKey:(NSString *)key
{
    NSLog(@"setNilValueForKey");
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    NSLog(@"setValue_forUndefinedKey");
}
- (id)valueForUndefinedKey:(NSString *)key
{
    NSLog(@"valueForUndefinedKey");
    return nil;
}
//+(BOOL)accessInstanceVariablesDirectly
//{
//    return NO;
//}


-(void)dealloc
{
    NSLog(@"dealloc");
}
@end
